package com.zhaotianhao.servicecart.api;

import com.zhaotianhao.servicecart.common.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author Z-7
 * @Date 2022/4/29
 */
@Component
@FeignClient(value = "service-user",path = "/user")
public interface UserLoginApi {
    @GetMapping("/getLoginUser")
    public JsonResult getLoginUser();
}
